import request from '@/utils/request';

// 获取消息列表
export function listBasicMessageTypeList(query) {
  return request({
    url: '/basic/system/basicMessageType/list',
    method: 'get',
    params: query
  })
}

// 修改消息类型
export function updateBasicMessageType(data) {
  return request({
    url: '/basic/system/basicMessageType',
    method: 'put',
    data: data
  })
}


// 删除消息类型
export function delBasicMessageType(messageTypeId) {
  return request({
    url: '/basic/system/basicMessageType/' + messageTypeId,
    method: 'delete'
  })
}